home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
comm
/
bbs
/
VOTE_1_0b.lha
/
VOTE.doc
< prev
Wrap
Text File
|
1992-04-15
|
10KB
|
224 lines
---------------------
THE VOTING BOOTH 1.0b
---------------------
by
Tom Warkentin
Copyright (C) 1992
-----------------------------------------------------------------------------
This software is FREEWARE and may distributed so long as the following
files are included in the archive:
VOTE - the executable file
VOTE.doc - docs on setting it up
README - this file
Any archiving method may be used, however nothing can be added or ommitted
from the archive. Furthermore, the files mentioned above may not be modified
in any way. Under no circumstances can a fee be charged for the distribution
of the files!
-----------------------------------------------------------------------------
INSTALLATION:
The executable can be placed anywhere you want it, however you
must assign VOTE: to the directory where you've placed the file. Also
keep in mind that the Voting Booth will create subdirectories and data
files, therefore I would recommend you placing it in it's own directory.
For DLG owners, your best bet is to place it in the DOORS: directory.
Here's how I set it up on my hard drive.
CD DOORS:
MAKEDIR VOTE
ASSIGN VOTE: DOORS:VOTE
Now make sure you place the executable in VOTE: and create a menu item
so users can access it from the BBS. Also, you might want to take some
time to setup some topics and choices so the users have an idea of what
you want added to the booth.
ADDING MENU ITEM:
I'll go through the setup for DLG owners. If you're using some
other BBS package, you should get the general idea from reading the
setup procedure.
USAGE:
VOTE %UNAME "%ALIAS" %LEVEL %ANSI %SCWIDTH 1
The Voting Booth uses the underscored username to ensure that a
user will not vote twice for a topic. The alias part may be replaced by
the users real name. Whatever you decide to put in quotations is what the
user will actually see as the names of users using the booth. The user
level must be included to control access to the SysOp configuration menu
as well as to control user additions to the booth (must be an integer).
The ansi flag is either "color" or "mono" depending on the users current
settings. Screen width is used to either print two columns of menu items
or single columns. The "1" on the end of the line is used to determine
which config file to use for the booth and where to look for the data
files. If you plan on running multiple booths, you should choose a
unique number for each.
Here's my setup on DLGPro v0.991:
[ 1] Letter: V
[ 2] Executable: VOTE:VOTE %UNAME "%ALIAS" %LEVEL %ANSI %SCWIDTH 1
[ 4] Description: Voting Booth
[ 5] Type: Executable
[ 6] Help File: MAIN/V
[ 7] Lower level: 10
[ 8] Upper level: 255
[ 9] Hidden: NO
[10] Load type: OVERLAY
[11] Ask user if sure: NO
[12] Pend Messages: YES
[13] CLI mode: NO
[14] Pause on completion: NO
[15] Log value: None
[16] Activity string:
[17] Priority: 1
[18] Edit help file
THE MENUS:
---------------------------------------------------------------------------
SysOp Configuration
---------------------------------------------------------------------------
[A] Add A New Topic [D] Delete A Topic
[E] Edit A Topic [G] Global Settings
[R] Reset Booth
---------------------------------------------------------------------------
M
---------------------------------------------------------------------------
SYSOP CONFIG =>
[A] Add A New Topic - This command is that same as the users Add A New Topic
command from the main menu. It will ask for a
description of the topic followed by a choice for
users to vote on.
[D] Delete A Topic - This will list all available topics in the Voting
Booth and let you select the one you'd like to remove.
Before removing the topic, the program will ask for
one confirmation. Then it will update the config
files as well as each users votes to reflect the
deleted topic.
[E] Edit A Topic - This command allows the SysOp to edit a topic
description, creator, as well as the individual
choices, their creator, and the number of votes. This
feature was added in case users enter unsightly
descriptions that need to be censored by the SysOp.
[G] Global Settings - The SysOp can edit the title displayed at the main
menu of the Voting Booth. The default is "Voting
Booth 1.0b". Also you can set the user level for user
additions, the SysOp user level (controls access to
SysOp Configuration Menu), the maximum number of topics,
and the maximum number of topics. All integer settings
have maximum and mininum values. If the value entered
is beyond the max and min bounds, that value will be
skipped and a message indicating the bounds will be
displayed.
[R] Reset Booth - This command will erase all user votes and delete all
topics and their associated choices. Two confirmations
are necessary before this command is invoked. Once
invoked, it is irreversible. Simply pressing any key
besides 'Y' cancels the command.
Review A Topic:
This menu will allow a user to view the results of user voting. However,
only those topics the user has participated in will be displayed. This is
an attempt to not bias the results. Future additions to reviewing a topic
may include graphing user votes for comparison. Version 1.0 does not have
this feature implemented and future versions depend on user feedback.
Vote On A Topic:
This menu allows the user to select a topic to vote on. If ansi is
selected, topics that are written in red lettering indicate topics that
have been voted on while green indicates topics not voted on. For those
users with ansi turned off, an asterisk will replace the colors (asterisk
indicating topics already voted on). When viewing choices, if the user
has already voted on the topic, the choice he/she voted on will be displayed
in red. Also [-] will be displayed for each choice indicating that the topic
cannot be voted on again. A proposed enhancement would be to allow users
to change their votes as new additions are made. However this would bias
the results somewhat since the user could vote on a topic, then view results
and change his vote to reflect the majority. User feedback would be
appreciated in this matter.
MULTILINE SYSTEMS:
The Voting Booth has not been tested on a multiline BBS since nobody's
donated a multi-serial board ;)... I can envision strange things occuring
if two users were to add topics at the same time and try to save. Anyway
I need feedback to know where problems occur... the config file could be
loaded in after every menu command to ensure it's up-to-date with any
changes that might occur.
DATA FILES:
Once you've run the booth for a while, you'll probably figure out
the way the data files are setup. I won't bother explaining it in the
documentation because I want to discourage people from editing the files
behind the scenes. If you plan on editing them in your favorite text
editor, make sure you understand the format completely or the program may
crash. I've put in some error checking if the files are missing, but if
they exist and have been tampered with, your computer may crash.
FINAL NOTE:
My apologies to those people who like long documentation files
explaining in detail every aspect of the program. This time I've included
a capture of my setup so I hope it makes things easier. Once again, if
you happen to find some bugs in the program or would like to see a feature
added to the Voting Booth, don't hesitate to contact me. I've got all summer
to do all sorts of modifications :)
You can reach me by sending email to:
tom@manning.cs.ualberta.ca
or calling:
The Spectre BBS (2400 soon 14.4)
(403) 435-9486
Edmonton, AB
or sending snail mail to:
Tom Warkentin
1016 Buchanan Place
Edmonton, AB
T6R 2A7
DISCLAIMER:
This software comes with absolutely no guarantee and I will not
be held responsible for it destroying your computer and munching your
hard drive. USE IT AT YOUR OWN RISK! Having said that, I can assure
you that I haven't had any problems with it on my system. If you do find
a problem with the software, I'd appreciate knowing about it so I can fix
it!
---------------------------------------------------------------------------
HISTORY:
v1.0b - fixed an echo problem created by the new DLG update (v0.991);
menus ignore invalid keypresses instead of redrawing.
v1.0 - added color, finished up SysOp menu, fixed a bug that didn't print
a [-] in the Review a Topic menu for those topics the user had not
voted for.
v0.7 - finished "Add New Topic", "Delete Topic", and started on the SysOp
menu.
v0.5 - started working on user additions.
v0.1 - beautiful moment when the data files were read in properly and the
first and only menu was displayed correctly.
---------------------------------------------------------------------------
THANK YOU's:
Paul for the late night calls on how to fix bugs in C, even though
he's never programmed anything in C himself :)! Yusuf for the ideas for the
voting booth. Cam for displaying an interest in the completion of the
booth.